package net.yxsoft.enumclass;

import rapid.core.EnumClsBase;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by mlb on 2016/6/26.
 */
public class ChooseEnumCls extends EnumClsBase<ChooseEnumCls> {

  public ChooseEnumCls(String text, String value) {
    super(text, value);
  }

  public static ChooseEnumCls All = new ChooseEnumCls("全部", "");

  public static ChooseEnumCls True = new ChooseEnumCls("已选", "1");

  public static ChooseEnumCls Flase = new ChooseEnumCls("未选", "0");



  public static List<ChooseEnumCls> COLLECTS_DEFAULTS = new ArrayList<ChooseEnumCls>() {
    {
      add(All);
      add(True);
      add(Flase);
    }
  };

}
